package com.mdd.admin.validate;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import java.io.Serializable;
import javax.validation.constraints.*;

@Data
@ApiModel("ai聊天记录创建参数")
public class AiQuestionRecordCreateValidate implements Serializable {

    private static final long serialVersionUID = 1L;

    @NotNull(message = "userId参数缺失")
    @ApiModelProperty(value = "用户id")
    private Long userId;

    @NotNull(message = "type参数缺失")
    @ApiModelProperty(value = "类型0用户提问1ai回答")
    private Long type;

    @NotNull(message = "content参数缺失")
    @ApiModelProperty(value = "回答内容")
    private String content;

}
